package com.example.moudlec.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-20
 */
@SuppressWarnings("all")
public class S_gather_details implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long parentId;

    private Integer productId;

    private String productName;

    private Integer amount;

    private String amountUnit;

    private Float costPrice;

    private Float subtotal;

    private Integer gatheredAmount;

    private String gatherTag;
    private Long orderId;

    private Long exeorderdtId;


    public Long getExeorderdtId() {
        return exeorderdtId;
    }

    public void setExeorderdtId(Long exeorderdtId) {
        this.exeorderdtId = exeorderdtId;
    }

    public S_gather_details(Integer productId, String productName, Integer amount, String amountUnit, Float costPrice, Float subtotal, Long orderId,Long exeorderdtId) {
        this.productId = productId;
        this.productName = productName;
        this.amount = amount;
        this.amountUnit = amountUnit;
        this.costPrice = costPrice;
        this.subtotal = subtotal;
        this.orderId = orderId;
        this.exeorderdtId=exeorderdtId;
    }


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public S_gather_details() {

    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getAmountUnit() {
        return amountUnit;
    }

    public void setAmountUnit(String amountUnit) {
        this.amountUnit = amountUnit;
    }

    public Float getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Float costPrice) {
        this.costPrice = costPrice;
    }

    public Float getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(Float subtotal) {
        this.subtotal = subtotal;
    }

    public Integer getGatheredAmount() {
        return gatheredAmount;
    }

    public void setGatheredAmount(Integer gatheredAmount) {
        this.gatheredAmount = gatheredAmount;
    }

    public String getGatherTag() {
        return gatherTag;
    }

    public void setGatherTag(String gatherTag) {
        this.gatherTag = gatherTag;
    }
}
